//
// Created by xinhua on 2021/9/27.
//

#ifndef HELLOOPENGL_TRIANGLE_H
#define HELLOOPENGL_TRIANGLE_H
#include "../Geometry.h"
#endif //HELLOOPENGL_TRIANGLE_H

class Triangle : public Geometry{
private:
    //三顶点
    Vector3 a, b, c;
protected:
    void setUpAttribute() override;
public:
    Triangle(float v[3 * 3]);
    Triangle(const Vector3 & _a, const Vector3 & _b, const Vector3 & _c);
};
